package com.dq.mail.exception;

/**
 * @ClassName: CommonErrorEnum
 * @Description: TODO
 * @Author: app-backend-public_小强 (QQ:2680825683)
 * @Since: 2023/3/3 15:03
 */
public enum CommonErrorEnum {
    UNKOWN_ERROR("执行过程异常，请重试。"),
    PARAMS_ERROR("非法参数"),
    OBJECT_NULL("对象为空"),
    QUERY_NULL("查询结果为空"),
    REQUEST_NULL("请求参数为空");

    private String errMessage;

    public String getErrMessage() {
        return errMessage;
    }

    private CommonErrorEnum( String errMessage) {
        this.errMessage = errMessage;
    }
}
